package com.wei.czz.framework.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wei.czz.framework.store.entity.StoreBossEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 商店老板表
 * 
 * @author wei
 * email 945158190@gmail.com
 * date 2023-11-22 17:44:15
 */
public interface StoreBossDao extends BaseMapper<StoreBossEntity> {

    /**
     * 查询商店老板最大排序等级
     * @param storeId      商店主键
     * @param deleteStatus 删除状态
     * @return 最大排序等级
     */
    Integer selectMaxSort(@Param("storeId") Long storeId, @Param("deleteStatus") Integer deleteStatus);
}
